<?php

namespace pmvc\mvc;

interface RequestWrapper {
	
	/**
	 * Called before the request.
	 * @param Model $model the model
	 * @param Dispatcher $dispatcher
	 * @return bool whether or not to continue servicing the request
	 */
    public function beforeRequest(Model $model, Dispatcher $dispatcher);
	
	/**
	 * Called after the request.
	 * @param Dispatcher $dispatcher
	 */
    public function afterRequest(Dispatcher $dispatcher);
    
}



?>